const secToTime = (s: number):string => {
  let t = "";
  if (s > -1) {
    const day = Math.floor(s / 3600 / 24);
    const hour = Math.floor((s / 3600) % 24);
    const min = Math.floor(s / 60) % 60;
    t = `${day}天`;
    if (hour < 10) {
      t += "0" + hour + "时";
    } else {
      t += hour + "时";
    }
    if (min < 10) {
      t += "0";
    }
    t += `${min}分`;
  }
  return t;
};

const xzXX = ["A", "B", "C", "D"];

const pdXX = [false, true];

export { secToTime, xzXX, pdXX };
